From: Joseph Turner Date: Tue, 15 Aug 2023 05:35:28 +0000 (-0700) Subject: Make ispell localwords safe local variable X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~14^2~18^2~4453 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=09351df10a1041d58c7236484f96d6999bfe9cb0;p=emacs.git Make ispell localwords safe local variable * lisp/textmodes/ispell.el (ispell-buffer-session-localwords): Make safe local variable to so that checkdoc can ignore words in a project in batch mode. --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 97c4ce9f32d..c73f92aa0b3 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1747,6 +1747,7 @@ Ispell is then restarted because the local words could conflict.") (defvar-local ispell-buffer-session-localwords nil "List of words accepted for session in this buffer.") +(put 'ispell-buffer-session-localwords 'safe-local-variable #'list-of-strings-p) (defvar ispell-parser 'use-mode-name "Indicates whether ispell should parse the current buffer as TeX Code.